import Vue from 'vue'
import Vuex from 'vuex'
import orderPageStore from './modules/frontStore/orderPageStore';
import invoiceSt from './modules/frontStore/invoiceStore'
import addMemberStore from "./modules/frontStore/addMemberStore";


Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    headerCssObj:{    //改变表格表头的样式
      backgroundColor:'#aedaff',
      color:'#ffffff',
      textAlign:'center',
      fontSize:'16px'
    },
    cellCssObj:{     //改变表格样式
      textAlign:'center',
      fontSize:'16px',
    }
    //以上是对表格的统一样式，引用如下：
    //在el-table标签内加    :header-cell-style="this.$store.state.headerCssObj"    :cell-style="this.$store.state.cellCssObj"
    //
  },
  mutations: {
  },
  actions: {
  },
  modules: {

    orderPageStore,
    addMemberStore,
    invoiceSt
  }
})
// 查询按钮  <el-button type="primary" icon="el-icon-search">搜索</el-button>
//输入框  <el-input v-model="input" placeholder="请输入内容"></el-input>
//删除 <el-button size="mini">超小按钮</el-button> 颜色：409EFF
//增加 <el-button size="medium">中等按钮</el-button> 颜色 409EFF